package com.langyiquan.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

//@Configuration
@Component
@ConfigurationProperties(prefix="miniprogram")
@PropertySource("classpath:miniprogram.properties")
public class MiniProgramResource {

	public String getRequestAccessTokenUrl() {
		return requestAccessTokenUrl;
	}

	public void setRequestAccessTokenUrl(String requestAccessTokenUrl) {
		this.requestAccessTokenUrl = requestAccessTokenUrl;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getAppSecret() {
		return appSecret;
	}

	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret;
	}

	public String getGrantType() {
		return grantType;
	}

	public void setGrantType(String grantType) {
		this.grantType = grantType;
	}

	private String requestAccessTokenUrl;
	private String appId;
	private String appSecret;
	private String grantType;


}
